<?php
/*
This file is part of Bugzilla Printable Report 

    Bugzilla Printable Report  is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Bugzilla Printable Report  is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Bugzilla Printable Report   If not, see <http://www.gnu.org/licenses/>.
*/

//Bug Reports index File

//default include files
require_once('includes/config.php');
require_once('includes/functions.php');
require_once('includes/class/BugzillaPrintableReport.php');


$report = new BugzillaPrintableReport();


  
?>
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Bug Reports</title>
        <link rel="stylesheet" type="text/css" href="print.css" />
    </head>
    <body>
	
        <div id=header><h1><? print $report->getHeader(); ?></h1>
        Status: <? print $report->getStatus(); ?><br />
        Time: <?php print date("m/d/y h:i:s"); ?></div>
	<div id=content>
	
<?php

     print $report->getHTML();

?>
    <a href="<?php print $homepage; ?>">Back to Home</a>
	</div>
	
    </body>
</html>	